<div style="background:#d2a941;height:35px;width:239px;"><p style="font-weight: bold; padding: 10px; color: #fff;">Kurs</p></div>

<div class="tpl_block">
<div class="tpl_block_body">
<div align="center">

<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<tbody>
	<tr>
		<td style="background-color: #F5EFCF; text-align: center; font-weight: bold; font-size: 11px; color: #dd3e21; padding: 4px 0px;" colspan="3">Info Kurs</td>
	</tr>
	<tr>
		<td width="33%" scope="col" class="header-kurs">Kurs</td>
		<td width="33%" scope="col" class="header-kurs">Jual</td>
		<td width="34%" scope="col" class="header-kurs">Beli</td>
	</tr>
	</tbody>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
  <tbody>
	<?php
	foreach($kurs as $content){
		echo "<tr>";
		echo "<td width=\"33%\" class=\"item-kurs\">".$content->matauang."</td>
				<td width=\"33%\" class=\"item-kurs\" align=\"right\">".number_format($content->beli,2)."</td>
				<td width=\"33%\" class=\"item-kurs\" align=\"right\">".number_format($content->jual,2)."</td>";
		echo "</tr>";
	}
	 ?>

  <tr>
    <td width="66%" colspan="3" class="item-kurs">
<?php echo $tanggal;  ?>
	</td>
  </tr>
  </tbody>
</table>

</div>
</div>

</div>
